333.9. Subject to section 333.13, section 421 does not apply to deem consideration to be an amount received or receivable by a taxpayer (in this section referred to as the “vendor”) for a restrictive covenant granted by the taxpayer if(a) the restrictive covenant is granted by the vendor to another taxpayer (in this section referred to as the “purchaser”) with whom the vendor deals at arm’s length;
(b) the restrictive covenant is an undertaking of the vendor not to provide, directly or indirectly, property or services in competition with the property or services provided or to be provided by the purchaser or by a person related to the purchaser in the course of carrying on the business to which the restrictive covenant relates;
(c) no proceeds are received or receivable by the vendor for granting the restrictive covenant;
(d) the amount that can reasonably be regarded as being the consideration for the restrictive covenant isi. included by the vendor in computing a goodwill amount of the vendor, or
ii. received or receivable by a corporation that was an eligible corporation of the vendor when the restrictive covenant was granted and included by the eligible corporation in computing a goodwill amount of the eligible corporation in respect of the business to which the restrictive covenant relates;
(e) the restrictive covenant can reasonably be regarded to have been granted to maintain or preserve the value of goodwill acquired by the purchaser from the vendor or from the vendor’s eligible corporation;
(f) neither sections 518 to 533 nor the second paragraph of section 614 applies to the disposition of the goodwill by the vendor or the vendor’s eligible corporation;
(g) no portion of the amount of consideration that can reasonably be regarded as being in part the consideration for the restrictive covenant is received or receivable, directly or indirectly in any manner whatever, by an individual (in this section and section 333.11 referred to as the “non arm’s length individual”) with whom the vendor does not deal at arm’s length or by another taxpayer in which the non arm’s length individual holds, directly or indirectly, an interest; and
(h) the vendor and the purchaser or, if subparagraph ii of paragraph d applies, the vendor, the eligible corporation and the purchaser, jointly so elect in the prescribed form.